<style scoped>
    body {
        background: #f5f7fa;
        display: block;
    }

    .container {
        height: 100%;
        width: 100%;
    }

    .content {
        box-sizing: border-box;
        padding: 70px 20px 20px 220px;
        min-height: 700px;
        overflow: auto;
    }

    .footer {
        margin-top: 10px;
        text-align: center;
        line-height: 30px;
        color: #999;
        display: block;
    }
</style>
<template>
    <div class="container">
        <sidebar></sidebar>
        <navbar></navbar>
        <div class="content">
            <transition name="router-fade" mode="out-in">
                <router-view></router-view>
            </transition>
            <a class="footer" href="https://github.com/yanhang0109" target="_blank"> 酷萌档案管理系统 created by yanhang</a>
        </div>
    </div>
</template>
<script>
import Sidebar from './Common/Sidebar'
import Navbar from './Common/Navbar'

export default {
  data () {
    return {
      dialogVisible: false
    }
  },
  components: {
    Sidebar,
    Navbar
  },
  methods: {
    handleOpen (key, keyPath) {
      console.log(key, keyPath)
    },
    handleClose (key, keyPath) {
      console.log(key, keyPath)
    }
  }
}
</script>
